<?php /* Smarty version 2.6.26, created on 2010-04-28 10:07:18
         compiled from feedback.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="webapps/styles/cssapp.css" />
<link type="text/css" rel="stylesheet" href="webapps/styles/table_dis.css" />
<script type="text/javascript" src="webapps/scripts/jquery.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
	$("#feedback_form").submit(function() {
			var title = $(":input#title").val();
			var userinfo = $(":input#userinfo").val();
			var content = $("#content").val();

			if (title == "") {
				$("#titleInitMsg").hide();
				$("#titleErrorMsg").show();
				return false;
			}

			if (userinfo == "") {
				$("#userinfoInitMsg").hide();
				$("#userinfoErrorMsg").show();
				return false;
			}

			if (content == "") {
				$("#contentInitMsg").hide();
				$("#contetnErrorMsg").show();
				return false;
			}

			return true;
		})
	});
</script>
<title><?php echo $this->_tpl_vars['title']; ?>
</title>
<style type="text/css">
.tips{width: 200px;margin:2px;padding:2px; color:red;}
.onError{
	padding-left:25px;
}
</style>
</head>

<body>
<!--定义主容器-->
<div id="container">
    <!--头部-->
<div id="header">
      <!--logo-->
      <div class="logo"><img alt="先锋教学平台" src="webapps/images/logo.png" height="50px" /></div>
      
      <!--导航-->
      <div id="navigation">
          <ul>
              <li><a href="index.php"><span>&nbsp;&nbsp;首&nbsp;&nbsp;&nbsp;&nbsp;页&nbsp;&nbsp;</span></a></li>
              <li><a href="index.php?controller=live"><span>教学直播</span></a></li>
              <li><a href="index.php?controller=broadcast"><span>教学点播</span></a></li>
              <li><a href="index.php?controller=search"><span>视频检索</span></a></li>
              <li><a href="index.php?controller=feedback"><span>意见反馈</span></a></li>
          </ul>
      </div>
    </div>
    <!--清除浮动-->
    <div class="clear"></div>

    <!--意见反馈-->
    <div class="radius">
        <form id="feedback_form" action="index.php?controller=feedback&action=submit" 
        method="post" target="_self">
            <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
			  <tr>
				<td><label for="title">提议标题 </label></td>
				<td><input type="text" id="title" name="title" /> <span id="titleErrorMsg" class="tips onError" style="display:none;">*提议标题不能为空！</span><span id="titleInitMsg" class="tip">* 请输入你要提议的标题，例如：对系统的上传功能的意见</span></td>
			  </tr>
			  <tr>
				<td><label for="userinfo">用户信息 </label></td>
				<td><input type="text" id="userinfo" name="userinfo" /> <span id="userinfoErrorMsg" class="tips onError" style="display:none;">*用户信息不能为空！</span><span id="userinfoInitMsg" class="tip">* 请输入你的个人信息，分院-班级-姓名，例如：软件分院-软件开发-张三</span></td>
			  </tr>
			  <tr>
				<td valign="top"><label for="content">提议内容 </label></td>
				<td><textarea id="content" name="content" rows="12" cols="50"></textarea> <span id="contetnErrorMsg" class="tips onError" style="display:none;">*提议内容不能为空！</span><span id="contentInitMsg" class="tip">* 请输入你的内容，例如：这个系统还不错，但有那么一点不足&hellip;&hellip;</span></td>
			  </tr>
			  <tr>
			    <td valign="top">&nbsp;</td>
			    <td>
                    <input type="submit" id="submit" name="submit" value="提交" /><input name="reset" type="reset" id="reset" value="重置" /></td>
		      </tr>
		  </table>
        </form>
    </div>
    
    <!--清除部分内容-->
    <div class="clear"></div>
    
    <!--footer-->
    <div id="footer" class="radius">
        <a href="#">关于系统</a> | <a href="#">服务条款</a> | <a href="#">版权所有先锋互联网传媒学院</a> <span style="font-family:Arial; font-size:12px;">Copyright &copy; 2010 Aheadedu. All Rights Reserved</span>
    </div>
    
</div>
</body>
</html>